<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<s:url value='/resources/css/control/index.css'/>" type="text/css" rel="stylesheet"/>
<link href="<s:url value='/resources/css/control/util.css'/>" type="text/css" rel="stylesheet"/>
<script src="<s:url value='/resources/js/jquery/jquery-1.5.2.min.js'/>" type="text/javascript"></script>
<title>监察系统</title>
<script type="text/javascript">

$(function(){
	$('#plansIframes').bind('load',function(){
		//var mainheight = $(this).contents().find("body").height()+50;
		//$(this).height(mainheight);
		
	});
});

function setIframeHeigth(iframe){
	var mainheight = $(iframe).contents().find("body").height()+50;
	$(iframe).height(mainheight);
}

function loadContent(url,height){
	var iframe = $('#plansIframes');
	iframe.attr('src',url);
	if(height){
		iframe.height(height);
	}
}
	
function reSetHeight(height){
	var mainheight = $('#plansIframes').contents().find("body").height();
	$('#plansIframes').height(mainheight);
}
</script>
</head>
<body>
<div class="mainHead header-bg"></div>
<div class="c-main" style="margin-top: 5px;">
  <div class="left">
    <div class="left-c">
      <div class="i-left-t"><span>操作栏</span></div>
      <div class="i-left-c">
        <div class="cate">
          <ul class="cate-ul">
            <!--第三层-->
            <li class="cate-li lii">
              <div>
                <p class="tt"><strong>旅游信息查询</strong></p>
                <div class="cate-div">
                  <p class="pl"><a href="javascript:loadContent('<s:url value="/control/showPlans.do"/>')">行程计划查询</a></p>
                  <p class="pl"><a href="javascript:loadContent('<s:url value="/control/showComplaints.do"/>')">游客投诉查询</a></p>
                  <p class="pl"><a href="javascript:loadContent('<s:url value="/control/showSigns.do"/>')">导游签到查询</a></p>
                  <p class="pl" style="border: none;"><a href="javascript:loadContent('<s:url value="/control/showFoods.do"/>')">申报餐标查询</a></p>
                </div>
              </div>
            </li>
            <!--第三层结束-->
             <!--第三层-->
            <li class="cate-li lii">
              <div>
                <p class="tt"><strong>数据分析</strong></p>
                <div class="cate-div">
                  <p class="pl"><a href="javascript:loadContent('http://10.41.88.128:1510/states/plan.aspx',670)">旅行社发团数据分析</a></p>
                  <p class="pl"><a href="javascript:loadContent('http://10.41.88.128:1510/states/Source.aspx',670)">客源地数据分析</a></p>
                  <p class="pl" style="border: none;"><a href="javascript:loadContent('http://10.41.88.128:1510/states/tourist.aspx',670)">游客接待数据分析</a></p>
                </div>
              </div>
            </li>
            <!--第三层结束-->
          </ul>
        </div>
      </div>
    </div>
  </div>
  <div class="right" style="border: none;">
    <div class="clear">
      <iframe id="plansIframes" src="<s:url value="/control/showPlans.do"/>" frameborder="0" width="990" scrolling="no"></iframe>
    </div>
  </div>
</div>
<div class="mainHead" style="clear:both; border: none;">
<div class="footer" style="border-top:1px solid #D9E6F0;">
    <div>云南现代物流信息服务有限公司 &copy; 2013 版权所有  | 备案号：滇ICP备 11004767号-4</div>
    <div>技术支持：<a target="_blank" href="http://www.ynxd56.com/">云南现代物流信息服务有限公司</a></div>
  </div>
</div>
</body>
</html>